//
//  TPCityModel.h
//  Tripvi
//
//  Created by xiaowuxiaowu on 2017/5/10.
//  Copyright © 2017年 xiaowuxiaowu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TPCityModel : NSObject
@property (nonatomic,copy)NSString *createTime;
@property (nonatomic,assign)NSInteger clinic_id;
@property (nonatomic,copy)NSString *city;
@property (nonatomic,copy)NSString *charCity;//拼音
@property (nonatomic,copy)NSString *attic; //大写首字母
@property (nonatomic,copy)NSString *spell; //首拼
@end

@interface TPCitySouceModel : NSObject
@property (nonatomic,copy)NSArray *sourceArray; //原始
@property (nonatomic,strong)NSMutableArray <TPCityModel *>*allArray; //所有的model数组
@property (nonatomic,strong)NSMutableArray <NSString *>*atticArray; //所有的大写数组
@property (nonatomic,strong)NSMutableArray <NSMutableArray *>*sectionArray; //结果

@property (nonatomic,copy)NSString *searchText; //搜索字段
@property (nonatomic,assign)BOOL isSearch; //是不是搜索
@property (nonatomic,strong)NSMutableArray <NSMutableArray *>*searchArray; //搜索结果

@end
